﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Event_SG_EWDT
{
    public partial class MyEvent : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            gvMyEvent.DataBind();
        }

        protected void gvMyEvent_SelectedIndexChanged(object sender, EventArgs e)
        {
            string id = gvMyEvent.SelectedRow.Cells[0].Text;
            Response.Redirect("~/ViewEvent.aspx?eventid=" + id);
        }

    }
}